package com.lupus.util;

import java.io.PrintWriter;
import java.io.StringWriter;

public final class ExceptionUtil {
	
	public static String getExceptionString(Exception e){
		if(e==null)return "";
		StringWriter traceWriter = new StringWriter ();
		e.printStackTrace(new PrintWriter(traceWriter));
		return traceWriter.toString();
	}
}
